package vip.finance.makemoney.apiSpider.eastmoney;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.relational.core.sql.In;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author yangbin
 * @since 2023-02-28
 */
@NoArgsConstructor
@Data
public class EastQtUListRep {
    private Integer rc;
    private Integer rt;
    private Long svr;
    private Integer lt;
    private Integer full;
    private String dlmkts;
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        private Integer total;
        private List<DiffDTO> diff;

        @NoArgsConstructor
        @Data
        public static class DiffDTO {
            //最新价
            private BigDecimal f2;
            //涨跌幅
            private BigDecimal f3;
            //涨跌额
            private BigDecimal f4;
            //代码
            private String f12;
        }
    }
}
